package com.wanggsx.componentdemo;

import android.app.Application;

import com.alibaba.android.arouter.launcher.ARouter;

import butterknife.ButterKnife;

public class AppApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        if (isDebug()) {
            ARouter.openLog();
            ARouter.openDebug();
        }
        ARouter.init(this);
    }

    private boolean isDebug(){
        return true;
    }
}
